<template>
  <a-layout-footer style="text-align: center">
    五四青年节快乐呀<span v-show="user.id">,{{user.name}}</span>
  </a-layout-footer>
</template>


<script lang="ts">
import { defineComponent,computed } from 'vue';
import store from "@/store";

export default defineComponent({
  name: 'the-foot',
  setup(){
    const user = computed(()=>store.state.user);
    return{
      user
    }
  }
});
</script>